package com.sc.nft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.MallActivityRanking;

public interface MallActivityRankingService {
    /**
     * 分页查询排行榜
     *
     * @param toMp
     * @return
     */
    IPage<MallActivityRanking> queryActivityRankingPage(Page toMp);

    /**
     * 保存排行榜
     *
     * @param mallActivityRanking
     * @return
     */
    Boolean save(MallActivityRanking mallActivityRanking);

    /**
     * 更新排行榜
     *
     * @param mallActivityRanking
     * @return
     */
    Boolean update(MallActivityRanking mallActivityRanking);
}
